
\documentclass[
	%technote,
	%internal,
	%submitted,
	%inpress,
	%final,
	%titlepage,
	%notitlepage,
	%anonymous,
	%narroweqnarray,
	%inline,
	twoside,
    %invited,
    onecolumn,
    %oneside
	]{styleAIpaper}

\newcommand{\latexiie}{\LaTeX2{\Large$_\varepsilon$}}
\renewcommand\refname{} % remove references title name

%\setlength{\parskip}{8pt}

\usepackage{hyperref}
\usepackage{graphicx}       % For \includegraphics
\usepackage[all]{hypcap}    % For pointing at the top of the image with \ref{}
\usepackage[margin=1cm]{caption}        % For caption of figures
%\usepackage{wrapfig}        % For text wrapping of figures
\usepackage{listings}       % For code input
\usepackage{float}
\usepackage{listings}
\usepackage{subfigure}


\begin{document}

\lstset{language=Java,basicstyle=\sffamily\scriptsize,basewidth=0.5em,frame=trBL,numbers=left,stepnumber=1,numberstyle=\tiny,breaklines=true,xleftmargin=15pt,showspaces=false,showstringspaces=false,showtabs=false}

%----------------------------------------------------------------------
% Title Information, Abstract and Keywords
%----------------------------------------------------------------------
\title[Artificial Intelligence: Assignement 1]{Articifial Intelligence: Assignment 1}

% format author this way for journal articles.
% MAKE SURE THERE ARE NO SPACES BEFORE A \member OR \authorinfo
% COMMAND (this also means `don't break the line before these
% commands).
\author{\\Theo Miltenburg (s0004944) \\ Chris Blommendaal (s0177482) \\\\\hspace*{0.2cm} University of Twente}

\journal{Course: Artificial Intelligence \((2011-192111301-2A)\),}
\titletext{ May\ 2012}
\loginfo{Paper version: draft}
\lognumber{}
\pubitemident{}
%\firstpage{}

\maketitle

%\begin{abstract}
%\end{abstract}

%\begin{keywords}
%\end{keywords}

\section{Introduction}
For the course artificial intelligence some practical assignments have to be done. The goal of these exercises is to become familiar with prolog\cite{prologwiki}. In these exercises SWI-prolog will be used.

\input{assignment1}

\input{assignment2}

\section{References}

\section{Appendix A: Source code for assignment 1}
\lstinputlisting{chris2.pl}
 
\section{Appendix B: Source code for assignment 2}
\lstinputlisting{einstein.pl}

\vspace*{-0.6cm} % remove empty title spacing of references

\bibliographystyle{plain}
\bibliography{bibfile}

\end{document} 